#include "PWGameClass.h"

bool CPWGameClass::InitGameStates()
{
	return true;
}

bool CPWGameClass::CleanupGame()
{
	return true;
}

bool CPWGameClass::UpdateGameGraphics()
{
	this->_ptrEngine->BeginScene(true);

	this->_sceneGraph->RenderScene();

	this->_ptrEngine->EndScene();

	return true;
}

bool CPWGameClass::UpdateGameInput(float _dt)
{
	CInputHID *ptrInput = this->GetInput();

	if (ptrInput->GetFKeyIsDown(VK_ESCAPE))
		this->StopGameRunning();

	return true;
}

bool CPWGameClass::UpdateGameLogic(float _dt)
{
	this->_sceneGraph->UpdateScene(_dt);

	return true;
}